<?php
	global $_W,$_GPC;
	if($_W['role']){
		$setting = pdo_get('mii_ang_setting',array('uniacid'=>$_W['uniacid']),array('appid','appsecret'));
		if(!$setting['appid'] || !$setting['appsecret']){
			include $this->template('web/miiopenid');
		}else{
			message('请先设置公众平台appid,appsecret');
		}

	}else{
		message('没有操作权限');
	}




?>